package cn.rknn.iot.entity.iot;

import io.swagger.v3.oas.annotations.media.Schema;

/**
* 产品行业分类
*/
@Schema(description = "产品分类")
public class Category {

    @Schema(description = "分类id")
    private Long id;

    @Schema(description = "分类标识")
    private String key;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "上级分类id")
    private Long parentId;

    /**
     * 乐观锁版本号
     */
    private Long  version;
}
